import request from '@/utils/request.js'

// 仪表盘信息接口
export const getinfoList = (params) => {
    return request({
        url: 'https://apifoxmock.com/m1/3287469-0-default/billboard/info',
        method: 'get',
        params: params
    })
}

// 仪表盘呼叫统计数据接口
export const getcallsum = (params) => {
    return request({
        url: 'https://apifoxmock.com/m1/3287469-0-default/billboard/call_sum',
        method: 'get',
        params: params
    })
}

// 仪表盘通话时长统计接口
export const getcallduration = (params) => {
    return request({
        url: 'https://apifoxmock.com/m1/3287469-0-default/billboard/call_duration',
        method: 'get',
        params: params
    })
}

// 仪表盘呼叫标签统计接口
export const getcalllabel = (params) => {
    return request({
        url: 'https://apifoxmock.com/m1/3287469-0-default/billboard/call_label',
        method: 'get',
        params: params
    })
}